<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Role extends Basc
{
    public function nodes(){
        return $this->belongsToMany(Node::class,"role_node","role_id","node_id");
    }
}
